package com.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class Matchrecord implements Serializable {
    private String mano;

    private String tno;

    private Integer mtno;

    private String beginyear;

    private Integer mno;

    private String teaTno;

    private Date mtime;

    private String maplace;

    private String mascore;

    private Integer homeyellowcard;

    private Integer homeredcard;

    private Integer homefoul;

    private Integer homeconner;

    private String visitingyellowcard;

    private Integer visitingredcard;

    private Integer visitingfoul;

    private Integer visitingconner;

    private static final long serialVersionUID = 1L;

    public String getMano() {
        return mano;
    }

    public void setMano(String mano) {
        this.mano = mano;
    }

    public String getTno() {
        return tno;
    }

    public void setTno(String tno) {
        this.tno = tno;
    }

    public Integer getMtno() {
        return mtno;
    }

    public void setMtno(Integer mtno) {
        this.mtno = mtno;
    }

    public String getBeginyear() {
        return beginyear;
    }

    public void setBeginyear(String beginyear) {
        this.beginyear = beginyear;
    }

    public Integer getMno() {
        return mno;
    }

    public void setMno(Integer mno) {
        this.mno = mno;
    }

    public String getTeaTno() {
        return teaTno;
    }

    public void setTeaTno(String teaTno) {
        this.teaTno = teaTno;
    }

    public Date getMtime() {
        return mtime;
    }

    public void setMtime(Date mtime) {
        this.mtime = mtime;
    }

    public String getMaplace() {
        return maplace;
    }

    public void setMaplace(String maplace) {
        this.maplace = maplace;
    }

    public String getMascore() {
        return mascore;
    }

    public void setMascore(String mascore) {
        this.mascore = mascore;
    }

    public Integer getHomeyellowcard() {
        return homeyellowcard;
    }

    public void setHomeyellowcard(Integer homeyellowcard) {
        this.homeyellowcard = homeyellowcard;
    }

    public Integer getHomeredcard() {
        return homeredcard;
    }

    public void setHomeredcard(Integer homeredcard) {
        this.homeredcard = homeredcard;
    }

    public Integer getHomefoul() {
        return homefoul;
    }

    public void setHomefoul(Integer homefoul) {
        this.homefoul = homefoul;
    }

    public Integer getHomeconner() {
        return homeconner;
    }

    public void setHomeconner(Integer homeconner) {
        this.homeconner = homeconner;
    }

    public String getVisitingyellowcard() {
        return visitingyellowcard;
    }

    public void setVisitingyellowcard(String visitingyellowcard) {
        this.visitingyellowcard = visitingyellowcard;
    }

    public Integer getVisitingredcard() {
        return visitingredcard;
    }

    public void setVisitingredcard(Integer visitingredcard) {
        this.visitingredcard = visitingredcard;
    }

    public Integer getVisitingfoul() {
        return visitingfoul;
    }

    public void setVisitingfoul(Integer visitingfoul) {
        this.visitingfoul = visitingfoul;
    }

    public Integer getVisitingconner() {
        return visitingconner;
    }

    public void setVisitingconner(Integer visitingconner) {
        this.visitingconner = visitingconner;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Matchrecord other = (Matchrecord) that;
        return (this.getMano() == null ? other.getMano() == null : this.getMano().equals(other.getMano()))
            && (this.getTno() == null ? other.getTno() == null : this.getTno().equals(other.getTno()))
            && (this.getMtno() == null ? other.getMtno() == null : this.getMtno().equals(other.getMtno()))
            && (this.getBeginyear() == null ? other.getBeginyear() == null : this.getBeginyear().equals(other.getBeginyear()))
            && (this.getMno() == null ? other.getMno() == null : this.getMno().equals(other.getMno()))
            && (this.getTeaTno() == null ? other.getTeaTno() == null : this.getTeaTno().equals(other.getTeaTno()))
            && (this.getMtime() == null ? other.getMtime() == null : this.getMtime().equals(other.getMtime()))
            && (this.getMaplace() == null ? other.getMaplace() == null : this.getMaplace().equals(other.getMaplace()))
            && (this.getMascore() == null ? other.getMascore() == null : this.getMascore().equals(other.getMascore()))
            && (this.getHomeyellowcard() == null ? other.getHomeyellowcard() == null : this.getHomeyellowcard().equals(other.getHomeyellowcard()))
            && (this.getHomeredcard() == null ? other.getHomeredcard() == null : this.getHomeredcard().equals(other.getHomeredcard()))
            && (this.getHomefoul() == null ? other.getHomefoul() == null : this.getHomefoul().equals(other.getHomefoul()))
            && (this.getHomeconner() == null ? other.getHomeconner() == null : this.getHomeconner().equals(other.getHomeconner()))
            && (this.getVisitingyellowcard() == null ? other.getVisitingyellowcard() == null : this.getVisitingyellowcard().equals(other.getVisitingyellowcard()))
            && (this.getVisitingredcard() == null ? other.getVisitingredcard() == null : this.getVisitingredcard().equals(other.getVisitingredcard()))
            && (this.getVisitingfoul() == null ? other.getVisitingfoul() == null : this.getVisitingfoul().equals(other.getVisitingfoul()))
            && (this.getVisitingconner() == null ? other.getVisitingconner() == null : this.getVisitingconner().equals(other.getVisitingconner()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getMano() == null) ? 0 : getMano().hashCode());
        result = prime * result + ((getTno() == null) ? 0 : getTno().hashCode());
        result = prime * result + ((getMtno() == null) ? 0 : getMtno().hashCode());
        result = prime * result + ((getBeginyear() == null) ? 0 : getBeginyear().hashCode());
        result = prime * result + ((getMno() == null) ? 0 : getMno().hashCode());
        result = prime * result + ((getTeaTno() == null) ? 0 : getTeaTno().hashCode());
        result = prime * result + ((getMtime() == null) ? 0 : getMtime().hashCode());
        result = prime * result + ((getMaplace() == null) ? 0 : getMaplace().hashCode());
        result = prime * result + ((getMascore() == null) ? 0 : getMascore().hashCode());
        result = prime * result + ((getHomeyellowcard() == null) ? 0 : getHomeyellowcard().hashCode());
        result = prime * result + ((getHomeredcard() == null) ? 0 : getHomeredcard().hashCode());
        result = prime * result + ((getHomefoul() == null) ? 0 : getHomefoul().hashCode());
        result = prime * result + ((getHomeconner() == null) ? 0 : getHomeconner().hashCode());
        result = prime * result + ((getVisitingyellowcard() == null) ? 0 : getVisitingyellowcard().hashCode());
        result = prime * result + ((getVisitingredcard() == null) ? 0 : getVisitingredcard().hashCode());
        result = prime * result + ((getVisitingfoul() == null) ? 0 : getVisitingfoul().hashCode());
        result = prime * result + ((getVisitingconner() == null) ? 0 : getVisitingconner().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", mano=").append(mano);
        sb.append(", tno=").append(tno);
        sb.append(", mtno=").append(mtno);
        sb.append(", beginyear=").append(beginyear);
        sb.append(", mno=").append(mno);
        sb.append(", teaTno=").append(teaTno);
        sb.append(", mtime=").append(mtime);
        sb.append(", maplace=").append(maplace);
        sb.append(", mascore=").append(mascore);
        sb.append(", homeyellowcard=").append(homeyellowcard);
        sb.append(", homeredcard=").append(homeredcard);
        sb.append(", homefoul=").append(homefoul);
        sb.append(", homeconner=").append(homeconner);
        sb.append(", visitingyellowcard=").append(visitingyellowcard);
        sb.append(", visitingredcard=").append(visitingredcard);
        sb.append(", visitingfoul=").append(visitingfoul);
        sb.append(", visitingconner=").append(visitingconner);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}